
public class ASTCDIRRBody extends SimpleNode {
	

  public ASTCDIRRBody(int id) {
    super(id);
  }

  public ASTCDIRRBody(JavaRolePreCompiler p, int id) {
    super(p, id);
  }


  public java.util.Vector<ASTCDIRRBodyDeclaration> getBodies(int tupleType){
	  
	  java.util.Vector<ASTCDIRRBodyDeclaration> sought = new java.util.Vector<ASTCDIRRBodyDeclaration>();
	  for(int first = 0;first<jjtGetNumChildren();first++){
		  if(jjtGetChild(first) instanceof ASTCDIRRBodyDeclaration){
			  //qui si dovrebbero anche aggiungere i modifier
			  ASTCDIRRBodyDeclaration node = (ASTCDIRRBodyDeclaration)jjtGetChild(first);
			  if(node.getTupleType()==2) sought.add(node);
		  }
	  }	
	  return  sought;  
  }

  /** Accept the visitor. **/
  public Object jjtAccept(JavaRolePreCompilerVisitor visitor, Object data) {
    return visitor.visit(this, data);
  }
}
/* JavaCC - OriginalChecksum=8af7ed7c2d3853397d3ff6c44714fc92 (do not edit this line) */
